| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ComputePass.h
1 // ComputePass.h
3 //
5
6 namespace nkGraphics
7 {
13 class ComputePass : public Pass
14 {
15 public :
16
17 // Getters
21 Shader* getShader () const ;
25 unsigned int getX () const ;
29 unsigned int getY () const ;
33 unsigned int getZ () const ;
34
35 // Setters
41 void setShader (Shader* shader) ;
47 void setX (unsigned int value) ;
53 void setY (unsigned int value) ;
59 void setZ (unsigned int value) ;
60
61 // Import / Export
62 virtual void exportClassToTree (nkExport::Node* rootNode) override ;
63 virtual void importClassFromTree (nkExport::Node* rootNode) override ;
64 } ;
65 }
nkGraphics::ComputePass::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::ComputePass::getShader
Shader * getShader() const
nkGraphics::ComputePass::setX
void setX(unsigned int value)
nkGraphics::ComputePass::setZ
void setZ(unsigned int value)
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition: Shader.h:16
nkGraphics::ComputePass
A compute pass, during which a compute dispatch is launched.
Definition: ComputePass.h:14
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::Pass
The base for a pass within a TargetOperations.
Definition: Pass.h:15
nkGraphics::ComputePass::setY
void setY(unsigned int value)
nkGraphics::ComputePass::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::ComputePass::getZ
unsigned int getZ() const
nkGraphics::ComputePass::getY
unsigned int getY() const
nkGraphics::ComputePass::getX
unsigned int getX() const
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::ComputePass::setShader
void setShader(Shader *shader)